package com.sgb.kjwl.model.entity.user;

import com.google.gson.annotations.SerializedName;

public class AttrEntity<T> {
    @SerializedName(value = "name", alternate = {"val"})
    private String name;
    @SerializedName("no")
    private String no;
    @SerializedName(value = "unit")
    private String unit;
    @SerializedName(value = "startVal")
    private String startVal;
    @SerializedName(value = "endVal")
    private String endVal;
    @SerializedName(value = "attributeNo")
    private String attributeNo;
    @SerializedName(value = "type")
    private int type;
    @SerializedName(value = "children", alternate = {"valList", "vals"})
    T children;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getStartVal() {
        return startVal;
    }

    public void setStartVal(String startVal) {
        this.startVal = startVal;
    }

    public String getEndVal() {
        return endVal;
    }

    public void setEndVal(String endVal) {
        this.endVal = endVal;
    }

    public String getAttributeNo() {
        return attributeNo;
    }

    public void setAttributeNo(String attributeNo) {
        this.attributeNo = attributeNo;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public T getChildren() {
        return children;
    }

    public void setChildren(T children) {
        this.children = children;
    }
}
